---
description: 'Docs for Yarn aspect'
labels: ['docs', 'aspect', 'extensions']
---

import { Yarn } from './index';

## Static Content Page in MDX

Docs for Yarn aspect

### Component usage

Use your component in any mdx file:

```js
import { Yarn } from '@teambit/aspect-docs.yarn';

<Yarn />;
```

### Render with theme and MDX providers

```js
import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';
import { MDXLayout } from '@teambit/ui.mdx-layout';
import { Yarn } from '@teambit/aspect-docs.yarn';

<ThemeCompositions>
  <MDXLayout>
    <Yarn />
  </MDXLayout>
</ThemeCompositions>;
```
